<link rel="stylesheet" href="page/followup/css/dataServiceCenter/export.css" />
<body>
    <div class="wrapper">
        <div class="inside">
            <div class="title">数据导出管理</div>
            <div class="content">
                <el-table border :data="tableData" size="small">
                    <el-table-column
                        prop="queueName"
                        label="队列名"
                        align="center"
                        >
                    </el-table-column>
                    <el-table-column
                        prop="startDate"
                        label="开始日期"
                        align="center"
                        >
                    </el-table-column>
                    <el-table-column
                        prop="endDate"
                        label="结束日期"
                        align="center"
                        >
                    </el-table-column>
                    <el-table-column
                        prop="doctorName"
                        label="操作医生"
                        align="center"
                        >
                    </el-table-column>
                    <el-table-column
                        prop="insertTimestamp"
                        label="操作日期"
                        align="center">
                        <template slot-scope="scope">
                            {{ scope.row.insertTimestamp.split(' ')[0] }}
                        </template>
                    </el-table-column>
                    <el-table-column
                        label="操作"
                        align="center"
                        >
                        <template slot-scope="scope">
                            <el-button type="primary" v-if="scope.row.downloadable == 'Y'" size="mini" @click="handleDownLoad(scope.row)">下载</el-button>
                            <span v-else style="color: green;">
                                <i class="el-icon-loading"></i>
                                文件导出中
                            </span>
                        </template>
                    </el-table-column>
                </el-table>
            </div>
        </div>
    </div>
    <script src="scprit/followup/app/dataServiceCenter/history.js"></script>
</body>